<?
$no = $args['news'];
$description = $no->getDescription();
$headline = $no->getTitle();
$uo = $no->getUserObject();
$firstname = $uo->getFirstName();
$dateTime = $no->getDateTime("F d, Y");
$ID = $no->getID();

$wc = $no->getBodyWordCount();
$wordCount = ($wc == 1) ? "1 word total" : $wc . " words total";

$link = (USE_MOD_REWRITE) ? SITE_WEB_DIRECTORY . '/news/' . $ID : SITE_WEB_DIRECTORY . '/news.php?id=' . $ID;
$headline = '<a href="' . $link . '">' . $no->getTitle() . '</a>';
$readMore = '<a href="' . $link . '">Read More</a>';

if ($uo->isBandMember()) { 
	$bm = BandMember::getByUserID($uo->getID());
	if ($bm->isActive()) {
		if (USE_MOD_REWRITE) {
			$poster = '<a href="' . SITE_WEB_DIRECTORY . '/member/' . $ID . '/">Read More</a>';
		} else {
			$poster = '<a href="' . SITE_WEB_DIRECTORY . '/member.php?id=' . $bm->getID() . '">Read More</a>';
		}
	} else {
		$poster = $firstname;
	}
} else {
	$poster = $firstname;
}

?>